package org.footballmanager.pandafootball.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.footballmanager.pandafootball.system.domain.FootRank;
import org.footballmanager.pandafootball.system.form.impl.FootRankSearchForm;
import tk.mybatis.mapper.common.BaseMapper;

import java.io.Serializable;
import java.util.List;

@Mapper
public interface FootRankMapper extends BaseMapper<FootRank> {
    /**
     * 翻页方法
     *
     * @param footRankSearchForm 条件
     * @return 列表
     */
    List<FootRank> findall(FootRankSearchForm footRankSearchForm);

    /**
     * 根据主键获取记录
     *
     * @param id 主键
     * @return 记录
     */
    FootRank findById(Serializable id);
}